#!/usr/bin/env python
from astropy.table import Table
import sys
import numpy as np
tab = Table.read(sys.argv[1],format='ipac')
data = tab[sys.argv[2]].data
print("mean",np.nanmean(data),"max",np.nanmax(data),"min",np.nanmin(data))
